package com.dnndo.common.core.domain.model;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class RegisterBodyto {
  /**
   * 用户id
   */
  @ApiModelProperty(value = "用户Id",required = true)
  private Long userId;;
  /**
   * 用户名  这里目前用的是 手机号当作登陆标识
   */
  @ApiModelProperty(value = "用户名",required = true)
  private String user_name;

  /**
   * 用户密码
   */
  @ApiModelProperty(value = "用户密码",required = true)
  private String password;

  /**
   * 手机号码
   */
  @ApiModelProperty(value = "手机号",required = true)
  private String phonenumber;

  /**
   * 确认密码
   */
  @ApiModelProperty(value = "确认密码",required = true)
  private String password_two;

  /**
   * 手机验证码
   */
  @ApiModelProperty(value = "手机验证码",required = true)
  @NotBlank(message = "验证码不可为空")
  private String sms_code;

}
